﻿<%template _header%>
<%namespace YouHP.Model%>
<!--header end-->
<!--TheCurrent start-->
<div id="foruminfo">
	<div class="userinfo">
		<h2><a href="{Config.WebsiteUrl}" class="home">{Config.WebsiteTitle}</a> <span><a href="{Config.WebsiteUrl}/Member/Manage.aspx">用户中心</a></span><strong>查看短消息</strong></h2>	</div>
	<div class="forumstats">
		<div id="search">
				<%template _quicksearch%>
		</div>
	</div>
</div>
<%if ErrorCount==0%>
<!--TheCurrent end-->

<!--主体-->
<div class="controlpannel">
   <%template _memmenu%>
	<div class="pannelcontent">
		<div class="pcontent">
			<div class="panneldetail">
				<%template _mempmenu%>	
				<div class="pannelbody">
					<div class="pannellist">
				    <%if IsPost%>
						<%template _msgbox%>
					<%else%>
				    <ul>
									<li class="notetitle">{Pm.Subject}</li>
									<li class="notetime">发送人:{Pm.Msgfrom}  {Pm.Postdatetime}</li>
									<li class="notecontent">{Pm.Message}</li>
									<li class="notecontent"><img src="/support/dnt/images/leftdot.gif" alt="查看信息"/>
										<a href="PmInbox.aspx">返回列表</a>
										<a href="PostPm.aspx?action=re&amp;Pmid={Pm.Pmid}">回复</a>
										<a href="PostPm.aspx?action=fw&amp;Pmid={Pm.Pmid}">转发</a>
										<a href="ShowPm.aspx?action=noread&amp;Pmid={Pm.Pmid}">标记为未读</a>
										<a href="ShowPm.aspx?action=delete&amp;Pmid={Pm.Pmid}">删除</a>
									</li>
								</ul>
							<%if {canreplyPm}%>
							<form id="postpm" name="postpm" method="post" action="PostPm.aspx?action=re&amp;Pmid={Pm.Pmid}">
							<label for="user" class="labelshort">接件人:</label>
							<input name="msgto" type="text" class="colorblue" id="msgto" onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" value="{Pm.Msgfrom}" size="20" /><br />
							<label for="email" class="labelshort">标题:</label>
							<input name="subject" type="text" class="colorblue" id="subject" onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" value="Re:{Pm.Subject}" size="40" /><br />
							<label for="comment" class="labelshort">内容:</label>
							<textarea name="message" cols="80" rows="20" class="colorblue" id="message" onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" onkeydown="if((event.ctrlKey && event.keyCode == 13) || (event.altKey && event.keyCode == 83)) document.getElementById('postpm').submit();" style="width:80%;">{Pm.Message}</textarea><br/>
							<label for="savetosentbox"  class="labelshort">&nbsp;</label>
							<input name="savetosentbox" type="checkbox" id="Checkbox1"  style="border:0;" />发送的同时保存到发件箱<br />

							<label for="savetosentbox"  class="labelshort">&nbsp;</label><input name="sendmsg" type="submit" id="sendmsg" value="立即发送"  class="sbutton"/>
							<input name="savetousercpdraftbox" type="submit" id="savetousercpdraftbox" value="存为草稿" class="sbutton" />
							[完成后可按Ctrl+Enter提交]
						</form>
                    <%/if%>
                    <%/if%>
			  </div>
			</div>
		</div>
	</div>
</div>
</div>
<!--主体-->
</div>
<%template _copyright%>
<%else%>
<%template _errmsgbox%>
</div>
<%/if%>
<%template _footer%>
